configuration MoteHubAppC 
{
}
implementation 
{
  components MainC, MoteHubC, LedsC, PacketLinkC;
  components ActiveMessageC as Radio;
  
  MainC.Boot <- MoteHubC;

  MoteHubC.RadioControl -> Radio;  
  MoteHubC.RadioSend -> Radio;
  MoteHubC.RadioReceive -> Radio.Receive;
  MoteHubC.RadioPacket -> Radio;
  MoteHubC.RadioAMPacket -> Radio;

  MoteHubC.PacketLink -> PacketLinkC;
  
  MoteHubC.Leds -> LedsC;
}